<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link type="text/css" href="css/ui.all.css" rel="stylesheet" />
<link type="text/css" href="css/ui.datepicker.css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script >
<script type="text/javascript" src="js/ui.core.js"></script >
<script type="text/javascript" src="js/ui.dialog.js"></script >
<script type="text/javascript">
$(function() {
	// 编辑位置弹出框
	$("#dlg_mainposition").dialog({
		bgiframe: true,
		autoOpen: false,
		height: 500,
		modal: true,
		title : "编辑位置",
		buttons: {
			'取消' : function() {
				alert("取消");
			},
			'确定': function() {
				alert("确定");
			}
		},
		close : function() {
			alert("关闭");
		}
	});
});

function openTest(){
	$('#dlg_mainposition').dialog('open');
}

</script>

</head>
<body>
	<input type="button" value="打开对话框" onclick="openTest()"/>
<!-- 弹出的选择节目框 -->
	<div id="dlg_mainposition" title="dlg_mainposition">
		<label>片名：</label>
			<span id="dlg_ms_promname"></span>
			<input id="" value="选择节目" type="button" class="ui-state-default"/><br/><br/>
		<label>分类：</label>
			<span id="dlg_ms_catename"></span><br/><br/>
		<label>位置：</label>
			<select id="dlg_ms_position">
				<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option>
				<option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option>
				<option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option>
				<option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option>
				<option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option>
			</select>
			<input id="dlg_ms_guding" type="checkbox"/>固定在此位置<br/><br/>
		<font color="red"><span id="gudingweizhiMSG"></span></font>
	</div>

</body>
</html>